.class Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;
.super Ljava/lang/Object;
.source "NiceAppCommentDetailActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->generateHeaderView()Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    .prologue
    .line 482
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 486
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    if-eqz v1, :cond_4f

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v1

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v2

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getAuthorUser()Lcom/brixd/niceapp/model/CommonUserModel;

    move-result-object v2

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v2

    if-ne v1, v2, :cond_4f

    .line 487
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "EnterSelfPersonalPageFromCommentDetailPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 492
    :goto_2d
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 493
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "UserModel"

    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v2

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CommentModel;->getAuthorUser()Lcom/brixd/niceapp/model/CommonUserModel;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 494
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->startActivity(Landroid/content/Intent;)V

    .line 495
    return-void

    .line 489
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_4f
    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$15;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "EnterOthersPersonalPageFromCommentDetailPage"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_2d
.end method
